﻿using System;
using Objects.Utility;

public partial class FieldAdminHome :  Objects.cSecurePage
{
    protected void Page_Load(object sender, EventArgs e)
    {

        Settings settings = new Settings();
        if (string.IsNullOrEmpty(settings.GetKeyValue("HomePage")))
        {
            imgHomePage.Visible = false;
        }
        else
        {
            imgHomePage.Visible = true;
            imgHomePage.Src = settings["HomePage"].ToString();
        }
    }
}